BEGIN {
    puts "this is begin block!"
}
END {
    puts "this is end block!"
}

puts "this is main block"
